#!/bin/sh
# host=$1
# list=("124" "122")	
# echo $host
# echo ${list[$host]}
./k
cd ..
# make clean
cp etc/ktcp.o src/ktcp.o
# cp etc/kip.o src/kip.o
make
make install
cd src
cd ..
cd test
echo >svr.log
echo >cli.log
echo >gw1.log
echo >gw2.log
../bin/kens gw1.conf & 
../bin/kens gw2.conf & 
../bin/kens svr.conf &
../bin/kens cli.conf &


# gdb ../bin/kens cli.conf
# gdb ../bin/kens svr.conf
# gdb ../bin/kens gw1.conf
# 
# ./s&
# ./c
./fs&
./fc

